package com.spshiro.service.imp;

import com.spshiro.mapper.UserMapper;
import com.spshiro.pojo.User;
import com.spshiro.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @create 2022-03-2022/3/17-10:09
 */
@Service
public class UserServiceimp implements UserService {

    @Autowired
    UserMapper userMapper;

    @Override
    public User getAccount(String name) {
        return userMapper.getAccount(name);
    }
}
